 <div> 
    <h1 class="pink">Categories</h1> 
</div> 
    <div style="font-weight:bold;padding:10px 0px;"> 
        1 - 20 of 137    </div> 
<form action="/Thi/skincare/adminpanel/category/updatefunction" id="updatefunction" method="post"> 
    <table width="100%"> 
        <thead> 
            <tr> 
                <td></td> 
                <td> 
                    <input type="checkbox" name="checkall" id="checkall"> 
                </td> 
                <td> 
                    Category
                </td> 
            </tr> 
        </thead> 
                <tr> 
            <td width="20" > 
                1            </td> 
            <td width="20" > 
                <input type="checkbox" name="deleteid[]" value="632"> 
            </td> 
            <td > 
                <a href="/Thi/skincare/adminpanel/category/detail/?id=632">*April Specials</a> 
            </td> 
            </tr> 
                    <tr> 
            <td width="20" style='background:#DFDCDC'> 
                2            </td> 
            <td width="20" style='background:#DFDCDC'> 
                <input type="checkbox" name="deleteid[]" value="2"> 
            </td> 
            <td style='background:#DFDCDC'> 
                <a href="/Thi/skincare/adminpanel/category/detail/?id=2">*April Specials 11</a> 
            </td> 
            </tr> 
                    <tr> 
            <td width="20" > 
                3            </td> 
            <td width="20" > 
                <input type="checkbox" name="deleteid[]" value="3"> 
            </td> 
            <td > 
                <a href="/Thi/skincare/adminpanel/category/detail/?id=3">*Daily Clearance</a> 
            </td> 
            </tr> 
                    <tr> 
            <td width="20" style='background:#DFDCDC'> 
                4            </td> 
            <td width="20" style='background:#DFDCDC'> 
                <input type="checkbox" name="deleteid[]" value="4"> 
            </td> 
            <td style='background:#DFDCDC'> 
                <a href="/Thi/skincare/adminpanel/category/detail/?id=4">*FREE Gifts</a> 
            </td> 
            </tr> 
                    <tr> 
            <td width="20" > 
                5            </td> 
            <td width="20" > 
                <input type="checkbox" name="deleteid[]" value="5"> 
            </td> 
            <td > 
                <a href="/Thi/skincare/adminpanel/category/detail/?id=5">100 Percent Pure - edit</a> 
            </td> 
            </tr> 
                    <tr> 
            <td width="20" style='background:#DFDCDC'> 
                6            </td> 
            <td width="20" style='background:#DFDCDC'> 
                <input type="checkbox" name="deleteid[]" value="23"> 
            </td> 
            <td style='background:#DFDCDC'> 
                <a href="/Thi/skincare/adminpanel/category/detail/?id=23">302 Skincare</a> 
            </td> 
            </tr> 
                    <tr> 
            <td width="20" > 
                7            </td> 
            <td width="20" > 
                <input type="checkbox" name="deleteid[]" value="633"> 
            </td> 
            <td > 
                <a href="/Thi/skincare/adminpanel/category/detail/?id=633">302 Skincare 2</a> 
            </td> 
            </tr> 
                    <tr> 
            <td width="20" style='background:#DFDCDC'> 
                8            </td> 
            <td width="20" style='background:#DFDCDC'> 
                <input type="checkbox" name="deleteid[]" value="639"> 
            </td> 
            <td style='background:#DFDCDC'> 
                <a href="/Thi/skincare/adminpanel/category/detail/?id=639">aaaa</a> 
            </td> 
            </tr> 
                    <tr> 
            <td width="20" > 
                9            </td> 
            <td width="20" > 
                <input type="checkbox" name="deleteid[]" value="636"> 
            </td> 
            <td > 
                <a href="/Thi/skincare/adminpanel/category/detail/?id=636">Add new here</a> 
            </td> 
            </tr> 
                    
            </table> 
    <input type="submit" name="delete" value="delete"> 
</form> 
    <div style="padding:10px 0px"><span style='padding:2px;'><a id='paging' class='paging' href="/Thi/skincare/adminpanel/category/list/?page=1"><<</a></span><span class='paging-current'>1</span><span style='padding:2px;'><a id='paging' class='paging' href="/Thi/skincare/adminpanel/category/list/?page=2">2</a></span><span style='padding:2px;'><a id='paging' class='paging' href="/Thi/skincare/adminpanel/category/list/?page=3">3</a></span><span style='padding:2px;'><a id='paging' class='paging' href="/Thi/skincare/adminpanel/category/list/?page=4">4</a></span><span style='padding:2px;'><a id='paging' class='paging' href="/Thi/skincare/adminpanel/category/list/?page=5">5</a></span><span style='padding:2px;'><a id='paging' class='paging' href="/Thi/skincare/adminpanel/category/list/?page=6">6</a></span><span style='padding:2px;'><a id='paging' class='paging' href="/Thi/skincare/adminpanel/category/list/?page=7">7</a></span><span style='padding:2px;'><a id='paging' class='paging' href="/Thi/skincare/adminpanel/category/list/?page=7">>></a></span></div> 
 
		<script type="text/javascript"> 
		$(document).ready(function()
		{
			$("#checkall").click(function()				
			{
				var checked_status = this.checked;
				$("input[type='checkbox']").each(function()
				{
					this.checked = checked_status;
                    //console.log(this.checked);
				});
			});					
		});
		
		</script> 